<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\Article;
use Faker\Generator as Faker;

$factory->define(Article::class, function (Faker $faker) {
    return [
        "title"=>$faker->title,
        "desc"=>$faker->word,
        "pic"=>'uploads/article/'.rand(1,6).'.png',
        "body"=>$faker->text,
    ];
});
